package Messages;

import java.util.Vector;

import DataObjects.RecipeRightList;

/**
 *  Class(type message) that get details of new recipe(Vector<String> recipeDetail1 - metadata of recipe
 *   and Vector<Vector> recipeDetail - list of all items of this recipe) and send it to server .
 *  
 */
public class MessageAddRecipeToDataBase extends Message{
	
	private Vector<RecipeRightList> recipeDetails;
	private Vector<String> recipeDetails1;
	
	public Vector<RecipeRightList> getRecipeDetails() {
		return recipeDetails;
	}


	public void setRecipeDetails(Vector<RecipeRightList> recipeDetails) {
		this.recipeDetails = recipeDetails;
	}


	public Vector<String> getRecipeDetails1() {
		return recipeDetails1;
	}


	public void setRecipeDetails1(Vector<String> recipeDetails1) {
		this.recipeDetails1 = recipeDetails1;
	}


	
	
	
	public  MessageAddRecipeToDataBase(Vector<RecipeRightList> recipeDetail,Vector<String> recipeDetail1)
	{
		super(Message.MessageType.MESSAGE_ADD_NEW_RECIPE_TO_DATA_BASE);
		this.recipeDetails=recipeDetail;
		this.recipeDetails1=recipeDetail1;
		
	}


}
